package com.hui.model.addr;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

@Data
@ApiModel(
        value = "IdParam (地址ID参数)",
        description = "地址ID参数"
)
public class IdParam implements Serializable {

    @NotBlank(message = "ID不能为空")
    @ApiModelProperty(value = "地址ID")
    private String id;
}